package com.mjlf.proxy.statics;

/**
 * @ClassName GoProxy
 * @auther mjlf
 * @Date 2019/9/18 15:32
 * @Description 静态代理类
 */
public class GoProxy {

    private Go go;

    public GoProxy(Go go) {
        this.go = go;
    }

    public void go() {
        System.out.println("startTime " + System.currentTimeMillis());
        go.go();
        System.out.println("endTime " + System.currentTimeMillis());
    }
}
